#pragma once
#include "Entity.h"

class Zone;

class Planets : public Entity
{
public:

	enum PlanetType{SAND, FOREST, ICE, LAVA, SHADOW,
		ASTD_SAND, ASTD_FOREST, ASTD_ICE, ASTD_LAVA, ASTD_SHADOW };

	Planets();
	virtual ~Planets();
	void Render(void);
	void Update(float elapsedTime);
	virtual int GetType() const override { return ENT_PLANET; }
	virtual void HandleCollision(const IEntity* other) override;

	//Accessors
	PlanetType GetPlanetType() const { return planetType; }

	//Mutators
	void SetPlanetType(PlanetType p) { planetType = p; }

private:
	PlanetType planetType;
	SGD::HTexture sandPlanet = SGD::INVALID_HANDLE;
	SGD::HTexture forestPlanet = SGD::INVALID_HANDLE;
	SGD::HTexture icePlanet = SGD::INVALID_HANDLE;
	SGD::HTexture shadowPlanet = SGD::INVALID_HANDLE;
	SGD::HTexture lavaPlanet = SGD::INVALID_HANDLE;

};

